<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Starshatter_Open: MagicDoc Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Starshatter_Open
   </div>
   <div id="projectbrief">Open source Starshatter engine</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_magic_doc.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">MagicDoc Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_magic_doc_8h_source.html">MagicDoc.h</a>&gt;</code></p>

<p><a href="class_magic_doc-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a3daeb82de986a9250d1ee15d34aeab8f"><td class="memItemLeft" align="right" valign="top">virtual BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_magic_doc.html#a3daeb82de986a9250d1ee15d34aeab8f">OnNewDocument</a> ()</td></tr>
<tr class="memitem:a5022ce20e35fb4b26f33a7ed418e18a3"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_magic_doc.html#a5022ce20e35fb4b26f33a7ed418e18a3">Serialize</a> (CArchive &amp;ar)</td></tr>
<tr class="memitem:a2aba845a2e863740d0bb7b34a55f7f82"><td class="memItemLeft" align="right" valign="top">virtual BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_magic_doc.html#a2aba845a2e863740d0bb7b34a55f7f82">OnSaveDocument</a> (LPCTSTR lpszPathName)</td></tr>
<tr class="memitem:a50d9108d08bc3f6fee0d04889754a830"><td class="memItemLeft" align="right" valign="top">virtual BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_magic_doc.html#a50d9108d08bc3f6fee0d04889754a830">OnOpenDocument</a> (LPCTSTR lpszPathName)</td></tr>
<tr class="memitem:ad3bf7983e5ecc2346df01a351d9c7f1a"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_magic_doc.html#ad3bf7983e5ecc2346df01a351d9c7f1a">DeleteContents</a> ()</td></tr>
<tr class="memitem:a311a76e643523c5d88bc6dff968e9e7a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_magic_doc.html#a311a76e643523c5d88bc6dff968e9e7a">InitCommandStack</a> ()</td></tr>
<tr class="memitem:a494ebecf9a85ff1922d91787ad31a3d6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_magic_doc.html#a494ebecf9a85ff1922d91787ad31a3d6">Exec</a> (<a class="el" href="class_command.html">Command</a> *command)</td></tr>
<tr class="memitem:a3e4089c489a1b009246b2aaa760e89ea"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_magic_doc.html#a3e4089c489a1b009246b2aaa760e89ea">Undo</a> ()</td></tr>
<tr class="memitem:a02895fb4eb36d1cc71433180331920b3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_magic_doc.html#a02895fb4eb36d1cc71433180331920b3">Redo</a> ()</td></tr>
<tr class="memitem:ad37e55096459648e7842f94b115735b1"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_magic_doc.html#ad37e55096459648e7842f94b115735b1">NumUndo</a> () const </td></tr>
<tr class="memitem:a60536bbb414b12c973c2f52c12342042"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_magic_doc.html#a60536bbb414b12c973c2f52c12342042">NumRedo</a> () const </td></tr>
<tr class="memitem:af3b71459b09f07af963ec0416adfa9df"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_magic_doc.html#af3b71459b09f07af963ec0416adfa9df">GetUndoName</a> () const </td></tr>
<tr class="memitem:a8bd26afec7bbb4b29881990885201328"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_magic_doc.html#a8bd26afec7bbb4b29881990885201328">GetRedoName</a> () const </td></tr>
<tr class="memitem:a698efd96a4190d31fe99a83d8193905d"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_magic_doc.html#a698efd96a4190d31fe99a83d8193905d">~MagicDoc</a> ()</td></tr>
<tr class="memitem:a5c6cf059b39cf4689e7a60109fd95910"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_solid.html">Solid</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_magic_doc.html#a5c6cf059b39cf4689e7a60109fd95910">GetSolid</a> ()</td></tr>
<tr class="memitem:a4acbac5ed837e0fdbd10df6aa3d930d3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_selection.html">Selection</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_magic_doc.html#a4acbac5ed837e0fdbd10df6aa3d930d3">GetSelection</a> ()</td></tr>
<tr class="memitem:aa5bfbaa6a41fc658837c36398334a309"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_selector.html">Selector</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_magic_doc.html#aa5bfbaa6a41fc658837c36398334a309">GetSelector</a> ()</td></tr>
<tr class="memitem:a369cfb2bc5e85c978f6ce5e06b673a27"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_editor.html">Editor</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_magic_doc.html#a369cfb2bc5e85c978f6ce5e06b673a27">GetEditor</a> ()</td></tr>
<tr class="memitem:ab98a7d5c73b5611edf047ef4d1e3130d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_magic_doc.html#ab98a7d5c73b5611edf047ef4d1e3130d">ImportFile</a> (LPCTSTR path_name)</td></tr>
<tr class="memitem:a4426fe4fa41926485e8d2f5a74ac8069"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_magic_doc.html#a4426fe4fa41926485e8d2f5a74ac8069">ExportFile</a> (LPCTSTR path_name)</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a165a6b72e5f7c085ac7ee24b435f9e91"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_magic_doc.html#a165a6b72e5f7c085ac7ee24b435f9e91">MagicDoc</a> ()</td></tr>
<tr class="memitem:aca7e792962d5d8cd5659a3252a06ffcf"><td class="memItemLeft" align="right" valign="top">afx_msg void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_magic_doc.html#aca7e792962d5d8cd5659a3252a06ffcf">OnSurfaceOptimize</a> ()</td></tr>
<tr class="memitem:a6b0c25f37fc1515b2371963be09889a8"><td class="memItemLeft" align="right" valign="top">afx_msg void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_magic_doc.html#a6b0c25f37fc1515b2371963be09889a8">OnSurfaceExplode</a> ()</td></tr>
<tr class="memitem:a96c3b60d39bc6fc5ac96277f50261748"><td class="memItemLeft" align="right" valign="top">afx_msg void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_magic_doc.html#a96c3b60d39bc6fc5ac96277f50261748">OnUpdateSurfaceOptimize</a> (CCmdUI *pCmdUI)</td></tr>
<tr class="memitem:a64e79068b190b46db1d0ca1f133a801c"><td class="memItemLeft" align="right" valign="top">afx_msg void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_magic_doc.html#a64e79068b190b46db1d0ca1f133a801c">OnUpdateSurfaceExplode</a> (CCmdUI *pCmdUI)</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:adcad62eaed6fd1ed1a9a4bb6b9904543"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_solid.html">Solid</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_magic_doc.html#adcad62eaed6fd1ed1a9a4bb6b9904543">solid</a></td></tr>
<tr class="memitem:a9d5032c0e03828d1817dc5b24cd3a426"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_selection.html">Selection</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_magic_doc.html#a9d5032c0e03828d1817dc5b24cd3a426">selection</a></td></tr>
<tr class="memitem:abc3bde730aebaa60e32f10866dc2fa6c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_selector.html">Selector</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_magic_doc.html#abc3bde730aebaa60e32f10866dc2fa6c">selector</a></td></tr>
<tr class="memitem:a431d9e4ddd9d78a9e37178ce5a97b727"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_editor.html">Editor</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_magic_doc.html#a431d9e4ddd9d78a9e37178ce5a97b727">editor</a></td></tr>
<tr class="memitem:a93c61892ce155da476b415b0830e17d9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_list.html">List</a>&lt; <a class="el" href="class_command.html">Command</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_magic_doc.html#a93c61892ce155da476b415b0830e17d9">commands</a></td></tr>
<tr class="memitem:aa23721b8bf5968e03015c22d2c24c000"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_magic_doc.html#aa23721b8bf5968e03015c22d2c24c000">nundo</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="_magic_doc_8h_source.html#l00041">41</a> of file <a class="el" href="_magic_doc_8h_source.html">MagicDoc.h</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a165a6b72e5f7c085ac7ee24b435f9e91"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">MagicDoc::MagicDoc </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_magic_doc_8cpp_source.html#l00056">56</a> of file <a class="el" href="_magic_doc_8cpp_source.html">MagicDoc.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a698efd96a4190d31fe99a83d8193905d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">MagicDoc::~MagicDoc </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_magic_doc_8cpp_source.html#l00065">65</a> of file <a class="el" href="_magic_doc_8cpp_source.html">MagicDoc.cpp</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ad3bf7983e5ecc2346df01a351d9c7f1a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void MagicDoc::DeleteContents </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_magic_doc_8cpp_source.html#l00443">443</a> of file <a class="el" href="_magic_doc_8cpp_source.html">MagicDoc.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a494ebecf9a85ff1922d91787ad31a3d6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MagicDoc::Exec </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_command.html">Command</a> *&#160;</td>
          <td class="paramname"><em>command</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_magic_doc_8cpp_source.html#l00083">83</a> of file <a class="el" href="_magic_doc_8cpp_source.html">MagicDoc.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a4426fe4fa41926485e8d2f5a74ac8069"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool MagicDoc::ExportFile </td>
          <td>(</td>
          <td class="paramtype">LPCTSTR&#160;</td>
          <td class="paramname"><em>path_name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_magic_doc_8cpp_source.html#l00383">383</a> of file <a class="el" href="_magic_doc_8cpp_source.html">MagicDoc.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a369cfb2bc5e85c978f6ce5e06b673a27"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_editor.html">Editor</a>* MagicDoc::GetEditor </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_magic_doc_8h_source.html#l00084">84</a> of file <a class="el" href="_magic_doc_8h_source.html">MagicDoc.h</a>.</p>

</div>
</div>
<a class="anchor" id="a8bd26afec7bbb4b29881990885201328"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char * MagicDoc::GetRedoName </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_magic_doc_8cpp_source.html#l00125">125</a> of file <a class="el" href="_magic_doc_8cpp_source.html">MagicDoc.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a4acbac5ed837e0fdbd10df6aa3d930d3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_selection.html">Selection</a>* MagicDoc::GetSelection </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_magic_doc_8h_source.html#l00082">82</a> of file <a class="el" href="_magic_doc_8h_source.html">MagicDoc.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa5bfbaa6a41fc658837c36398334a309"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_selector.html">Selector</a>* MagicDoc::GetSelector </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_magic_doc_8h_source.html#l00083">83</a> of file <a class="el" href="_magic_doc_8h_source.html">MagicDoc.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5c6cf059b39cf4689e7a60109fd95910"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_solid.html">Solid</a>* MagicDoc::GetSolid </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_magic_doc_8h_source.html#l00081">81</a> of file <a class="el" href="_magic_doc_8h_source.html">MagicDoc.h</a>.</p>

</div>
</div>
<a class="anchor" id="af3b71459b09f07af963ec0416adfa9df"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char * MagicDoc::GetUndoName </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_magic_doc_8cpp_source.html#l00116">116</a> of file <a class="el" href="_magic_doc_8cpp_source.html">MagicDoc.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ab98a7d5c73b5611edf047ef4d1e3130d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool MagicDoc::ImportFile </td>
          <td>(</td>
          <td class="paramtype">LPCTSTR&#160;</td>
          <td class="paramname"><em>path_name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_magic_doc_8cpp_source.html#l00241">241</a> of file <a class="el" href="_magic_doc_8cpp_source.html">MagicDoc.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a311a76e643523c5d88bc6dff968e9e7a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MagicDoc::InitCommandStack </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_magic_doc_8cpp_source.html#l00076">76</a> of file <a class="el" href="_magic_doc_8cpp_source.html">MagicDoc.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a60536bbb414b12c973c2f52c12342042"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int MagicDoc::NumRedo </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_magic_doc_8cpp_source.html#l00110">110</a> of file <a class="el" href="_magic_doc_8cpp_source.html">MagicDoc.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ad37e55096459648e7842f94b115735b1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int MagicDoc::NumUndo </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_magic_doc_8cpp_source.html#l00104">104</a> of file <a class="el" href="_magic_doc_8cpp_source.html">MagicDoc.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a3daeb82de986a9250d1ee15d34aeab8f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">BOOL MagicDoc::OnNewDocument </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_magic_doc_8cpp_source.html#l00149">149</a> of file <a class="el" href="_magic_doc_8cpp_source.html">MagicDoc.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a50d9108d08bc3f6fee0d04889754a830"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">BOOL MagicDoc::OnOpenDocument </td>
          <td>(</td>
          <td class="paramtype">LPCTSTR&#160;</td>
          <td class="paramname"><em>lpszPathName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_magic_doc_8cpp_source.html#l00199">199</a> of file <a class="el" href="_magic_doc_8cpp_source.html">MagicDoc.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a2aba845a2e863740d0bb7b34a55f7f82"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">BOOL MagicDoc::OnSaveDocument </td>
          <td>(</td>
          <td class="paramtype">LPCTSTR&#160;</td>
          <td class="paramname"><em>lpszPathName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_magic_doc_8cpp_source.html#l00187">187</a> of file <a class="el" href="_magic_doc_8cpp_source.html">MagicDoc.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a6b0c25f37fc1515b2371963be09889a8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void MagicDoc::OnSurfaceExplode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_magic_doc_8cpp_source.html#l00603">603</a> of file <a class="el" href="_magic_doc_8cpp_source.html">MagicDoc.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aca7e792962d5d8cd5659a3252a06ffcf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void MagicDoc::OnSurfaceOptimize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_magic_doc_8cpp_source.html#l00589">589</a> of file <a class="el" href="_magic_doc_8cpp_source.html">MagicDoc.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a64e79068b190b46db1d0ca1f133a801c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void MagicDoc::OnUpdateSurfaceExplode </td>
          <td>(</td>
          <td class="paramtype">CCmdUI *&#160;</td>
          <td class="paramname"><em>pCmdUI</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_magic_doc_8cpp_source.html#l00612">612</a> of file <a class="el" href="_magic_doc_8cpp_source.html">MagicDoc.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a96c3b60d39bc6fc5ac96277f50261748"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void MagicDoc::OnUpdateSurfaceOptimize </td>
          <td>(</td>
          <td class="paramtype">CCmdUI *&#160;</td>
          <td class="paramname"><em>pCmdUI</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_magic_doc_8cpp_source.html#l00598">598</a> of file <a class="el" href="_magic_doc_8cpp_source.html">MagicDoc.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a02895fb4eb36d1cc71433180331920b3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MagicDoc::Redo </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_magic_doc_8cpp_source.html#l00141">141</a> of file <a class="el" href="_magic_doc_8cpp_source.html">MagicDoc.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a5022ce20e35fb4b26f33a7ed418e18a3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void MagicDoc::Serialize </td>
          <td>(</td>
          <td class="paramtype">CArchive &amp;&#160;</td>
          <td class="paramname"><em>ar</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_magic_doc_8cpp_source.html#l00167">167</a> of file <a class="el" href="_magic_doc_8cpp_source.html">MagicDoc.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a3e4089c489a1b009246b2aaa760e89ea"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MagicDoc::Undo </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_magic_doc_8cpp_source.html#l00134">134</a> of file <a class="el" href="_magic_doc_8cpp_source.html">MagicDoc.cpp</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a93c61892ce155da476b415b0830e17d9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_list.html">List</a>&lt;<a class="el" href="class_command.html">Command</a>&gt; MagicDoc::commands</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_magic_doc_8h_source.html#l00095">95</a> of file <a class="el" href="_magic_doc_8h_source.html">MagicDoc.h</a>.</p>

</div>
</div>
<a class="anchor" id="a431d9e4ddd9d78a9e37178ce5a97b727"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_editor.html">Editor</a>* MagicDoc::editor</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_magic_doc_8h_source.html#l00093">93</a> of file <a class="el" href="_magic_doc_8h_source.html">MagicDoc.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa23721b8bf5968e03015c22d2c24c000"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int MagicDoc::nundo</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_magic_doc_8h_source.html#l00096">96</a> of file <a class="el" href="_magic_doc_8h_source.html">MagicDoc.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9d5032c0e03828d1817dc5b24cd3a426"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_selection.html">Selection</a>* MagicDoc::selection</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_magic_doc_8h_source.html#l00091">91</a> of file <a class="el" href="_magic_doc_8h_source.html">MagicDoc.h</a>.</p>

</div>
</div>
<a class="anchor" id="abc3bde730aebaa60e32f10866dc2fa6c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_selector.html">Selector</a>* MagicDoc::selector</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_magic_doc_8h_source.html#l00092">92</a> of file <a class="el" href="_magic_doc_8h_source.html">MagicDoc.h</a>.</p>

</div>
</div>
<a class="anchor" id="adcad62eaed6fd1ed1a9a4bb6b9904543"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_solid.html">Solid</a>* MagicDoc::solid</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_magic_doc_8h_source.html#l00090">90</a> of file <a class="el" href="_magic_doc_8h_source.html">MagicDoc.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>D:/SRC/StarshatterSVN/Magic2/<a class="el" href="_magic_doc_8h_source.html">MagicDoc.h</a></li>
<li>D:/SRC/StarshatterSVN/Magic2/<a class="el" href="_magic_doc_8cpp_source.html">MagicDoc.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_magic_doc.html">MagicDoc</a></li>
    <li class="footer">Generated on Tue Jun 5 2012 20:47:56 for Starshatter_Open by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.1 </li>
  </ul>
</div>
</body>
</html>
